<!DOCTYPE html>
<html>

	<head>

		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">

		<title>后台 - 游戏基本设置</title>
		<meta name="keywords" content="">
		<meta name="description" content="">

		<link rel="shortcut icon" href="favicon.ico">
		<link href="__PUBLIC__/Admin/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/plugins/iCheck/custom.css" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/animate.min.css" rel="stylesheet">
		<link href="__PUBLIC__/Admin/css/style.min862f.css?v=4.1.0" rel="stylesheet">

	</head>

	<body class="gray-bg">
		<div class="wrapper wrapper-content animated fadeInRight">
			<div class="row">
				<div class="col-sm-12">
					<div class="ibox float-e-margins">
						<div class="ibox-title">
							<h5>游戏基本设置</h5>
							<div class="ibox-tools">
								<a class="collapse-link">
									<i class="fa fa-chevron-up"></i>
								</a>
							</div>
						</div>
						<div class="ibox-content">
							<form id="signform" action="{:U('Admin/Site/game')}" method="post" class="form-horizontal">
								<div class="form-group">
								<div class="form-group">
									<label class="col-sm-2 control-label">客服1:</label>
									<div class="col-sm-6">
										<input type="text" name="kefu1" value="{:C('kefu1')}" placeholder="" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">客服2:</label>
									<div class="col-sm-6">
										<input type="text" name="kefu2" value="{:C('kefu2')}" placeholder="" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">客服3:</label>
									<div class="col-sm-6">
										<input type="text" name="kefu3" value="{:C('kefu3')}" placeholder="" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">客服4:</label>
									<div class="col-sm-6">
										<input type="text" name="kefu4" value="{:C('kefu4')}" placeholder="" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">客服5:</label>
									<div class="col-sm-6">
										<input type="text" name="kefu5" value="{:C('kefu5')}" placeholder="" class="form-control">
									</div>
								</div>
								<div class="hr-line-dashed"></div>
								
								<div class="form-group">
									<label class="col-sm-2 control-label">交易大厅交易手续费</label>
								    <div class="col-sm-6">
										<input type="text" name="transaction_fee" value="{:C('transaction_fee')}" placeholder="输入交易大厅交易手续费" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">交易大厅慈善基金费率</label>
								    <div class="col-sm-6">
										<input type="text" name="charitable_fee" value="{:C('charitable_fee')}" placeholder="输入交易大厅慈善基金费率" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">上架最小金额</label>
								    <div class="col-sm-6">
										<input type="text" name="transaction_min" value="{:C('transaction_min')}" placeholder="输入上架最小金额" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">上架最大金额</label>
								    <div class="col-sm-6">
										<input type="text" name="transaction_max" value="{:C('transaction_max')}" placeholder="输入上架最大金额" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">上架规则（为以下数值的整数倍）</label>
								    <div class="col-sm-6">
										<input type="text" name="transaction_gz" value="{:C('transaction_gz')}" placeholder="输入上架规则" class="form-control">
									</div>
								</div>
								<div class="hr-line-dashed"></div>
								<div class="form-group">
									<label class="col-sm-2 control-label">矿石兑换人民币比例（0.1即代表 10:1）</label>
								    <div class="col-sm-6">
										<input type="text" name="minertoRMB" value="{:C('minertoRMB')}" placeholder="输入矿石兑换人民币比例" class="form-control">
									</div>
								</div>
								<div class="hr-line-dashed"></div>
								<div class="form-group">
									<label class="col-sm-2 control-label">矿工总数上限</label>
								    <div class="col-sm-6">
										<input type="text" name="xt_all_kg" value="{:C('xt_all_kg')}" placeholder="输入矿工总数上限" class="form-control">
									</div>
								</div>
								<div class="hr-line-dashed"></div>
								<div class="form-group">
									<label class="col-sm-2 control-label">关于SMX宝藏</label>
								    <div class="col-sm-6">
										<input type="text" name="about" value="{:C('about')}" placeholder="输入关于SMX宝藏信息" class="form-control">
									</div>
								</div>
								<div class="hr-line-dashed"></div>
								<div class="form-group">
									<label class="col-sm-2 control-label">收款账号</label>
								    <div class="col-sm-6">
										<input type="text" name="bank_no" value="{:C('bank_no')}" placeholder="输入收款账号" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">收款开户行</label>
								    <div class="col-sm-6">
										<input type="text" name="bank" value="{:C('bank')}" placeholder="输入收款开户行" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">收款银行支行信息</label>
								    <div class="col-sm-6">
										<input type="text" name="bank_fh" value="{:C('bank_fh')}" placeholder="输入收款银行支行信息" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">收款支付宝账号</label>
								    <div class="col-sm-6">
										<input type="text" name="alipay" value="{:C('alipay')}" placeholder="输入收款支付宝账号" class="form-control">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">收款微信账号</label>
								    <div class="col-sm-6">
										<input type="text" name="wechat" value="{:C('wechat')}" placeholder="输入收款微信账号" class="form-control">
									</div>
								</div>
								
								<div class="hr-line-dashed"></div>
								<div class="form-group">
									<div class="col-sm-4 col-sm-offset-2">
										<button class="btn btn-primary" type="submit">保存信息</button>&nbsp;&nbsp;&nbsp;
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<script src="__PUBLIC__/Admin/js/jquery.min.js?v=2.1.4"></script>
		<script src="__PUBLIC__/Admin/js/bootstrap.min.js?v=3.3.6"></script>
		<script src="__PUBLIC__/Admin/js/content.min.js?v=1.0.0"></script>
		<script src="__PUBLIC__/Common/js/ajaxForm.js"></script>
		<script src="__PUBLIC__/Common/layer/layer.js"></script>
		<script src="__PUBLIC__/Admin/js/plugins/iCheck/icheck.min.js"></script>
		<script>
			$(document).ready(function() {
				$(".i-checks").iCheck({
					checkboxClass: "icheckbox_square-green",
					radioClass: "iradio_square-green",
				})
			});
		</script>
		<script>
			$(function(){
				$('#signform').ajaxForm({
					success: complete, 
					dataType: 'json'
				});
				function complete(data){
					if(data.status==1){
						$('.btn-primary').attr('disabled','disabled');
						layer.msg(data.info, function(index){
			 				layer.close(index);
							window.location.href=data.url;
						});
					}else{
						layer.msg(data.info);
						return false;	
					}
				}
			});
		</script>
	</body>

</html>